package com.duying.aid.manager;

import java.util.List;

import com.busi.framework.base.PageSupport;
import com.duying.gh.GhCommonManager;

public class FileManager extends GhCommonManager{
	
	public PageSupport getPage(Integer pageNo){
		String hql = "from File f order by f.is_top desc , f.add_date desc";
		return this.baseDao.findPageByHql(hql, pageNo);
	}
	
	
	public List getListByPageNo(Integer pageNo){
		PageSupport page = getPage(pageNo);
		return page.getItems();
	}
}
